go/token.FileSet.last (field)
6 uses
go/token (current package)
position.go#L433: last atomic.Pointer[File] // cache of last file looked up
position.go#L491: s.last.Store(f)
position.go#L534: s.last.CompareAndSwap(file, nil) // clear last file cache
position.go#L563: if f := s.last.Load(); f != nil && f.base <= int(p) && int(p) <= f.base+f.size {
position.go#L574: s.last.Store(n.file)
serialize.go#L41: s.last.Store(nil)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)